SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3cd345b4abc336665ea0a8f07be8124b9ed369424f235568a27345e1b5436744' 
  AND token = 'C7ZnsObiSNsMJ+guxg4OPbbTZEAR/3Oa1JVZJiBgamQ=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00014

JSON explain

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