SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '354cb583c7e59be327cb37806dfb2dd00b40ed17698c6816fa7cc43e712f0baf' 
  AND token = 'joLq+OfYb/yinHa/xJYXcEYitsFxdYX0ozm0Lr+8veE=' 
  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"
    }
  }
}