SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38ae948246344b78715e65262d4957ce2a6b97523a923bde4dd9c3e3f0e8b0a0' 
  AND token = 'PWVEwqeIHc9B3Ly3v0Db2Ap23O9IUhDZatbB3AHzk3k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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