SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b1f963007bac829a0bece1c779036f34fcb7c95020ca0208b2ea3435fa21aef' 
  AND token = 'AqCxxJ4hz33FkaOu1BZwraBi6ZWgRyHrLkMuGgMLr5Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}