SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '54ba45a68e95072a63ba743856a75f8941690d4ead67ae8b0ee1691be1ad28d7' 
  AND token = 'tBtDV7iMWaXfF2FO5wGfPdKvLMT1I0Rd2RCBrPluFis=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00041

JSON explain

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