SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '27892817da33b26ecf57082446ab2c07158f5e8f668d4a209ca2373374e327d1' 
  AND token = 'KX4F7/LZRzDvS56ssysYJn3Qvg8KeDNfpzS0YHbn0l4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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