SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '31f491359487d5c9787111bfd1b118b0c9236061416801d7f16b6902bfa627fb' 
  AND token = 'QNMOehodaAS9z9xOHAp+hSHMIwVohpLueVJXmkx0D4A=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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