SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8f7c590062a1cd56bf24586a7c3789cdd81f7a9d6cde64c843a0195e839281cf' 
  AND token = 'RQhIaEyIj9ejhWx66CnRVoeLYvEHY+kD0+3+ZrLx0LQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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