SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18cca164030f7ba47304b52dfd21c6662dbe3a256701576c2927db545ded7736' 
  AND token = 'PsM/LkCOVijKmZxW3ySJC3R5juwb1SefrbTkdO9+n9Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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