SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0c5f9ed73d4f7f218b7b8b8bfcb56694c5e655772223abef7e8e820fd5831bea' 
  AND token = 'Pre5Zh4sM/2WlT0lFuyOHn8J8jtdVq0kPbxlC0zsL3k=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00060

JSON explain

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