SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '449979bd49adb9dcd2d217193f8de6433577ac05219c7a821508050d95f5673c' 
  AND token = 'JOF0AQNPYYrvO+o/a6RkDIi/1IsGxjFaMjhz3h9Fnl4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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