SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c380f46ccf1c9c97d6368b7fc40ecbb8645c03b3056c2f6da0154edec3dc0904' 
  AND token = 'Iz7cgG9ldsTe+cMbl8xR/ds0PLhRIXRHpogahGIcf3k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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