SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a0ff4e1fb0a2ec2cbe6f2d16c005daedadba011f8f949fbf6a596c77e76b04b2' 
  AND token = 'gKHzrWMpmNZ5QKt0rPrYCxud0w3+q/r0dX7W9A/M6Ig=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}