SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a52307edb8d4df29b33a4112e781ec741b62828159b06e212585dba7ced114f3' 
  AND token = '1yq5qEArccu/xTDDDCF3ahYvBsPPGhDrcTIhqamTcS8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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