SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'db1974850ae05e7f2ecd68eef6f2a7e58fd72d524ed91ea7fdf7f3491df41ebc' 
  AND token = 'Mg9IELPj5/bCjFAXuWjZAvSKK/N9eBRN66cw9pRUZms=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

JSON explain

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