SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cfcfa1502b00b57017f801100e18caee3fa978bf56c7d58d37d46d1537b50be1' 
  AND token = 'NiFo5cgunCspZr06mSCyI1mfToGtwYa9KyTPGbiV2Oo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00038

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}