SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2439add148e22bc5046a8cc831677615e9cad5d7eeba1c6cc3df60b373d41650' 
  AND token = '/clS72yMajbCTeVgy/6M7lSIFV8bSFo39dlK2tHuc/g=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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