SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '420d951567e7730798ac1f4f018547863f180dbfd6eaab857207b9323fe14a52' 
  AND token = 'xRwEBbzROkGcR2Zg+vmln9CZpDb6SMudcE2TxrB6l+Q=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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