SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9bf8ad461a9210290f4d34d398a8b035761e48957cc3a8e2acc1b3cad75b514' 
  AND token = 'GY6Rb4JyHSsPoRw4imB8nb+BOMc4BJAqTMmSsj4uKY8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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