SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'd2d4fa791bf115b64ab8e30f05dfc0ffb5e7cab744e7dbb8642ec0ea47e1a388' 
  AND token = 'TTXeEig5/OoSsi33k+BTLrw+/XdAgza6PSuQr0ApdAk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00026

JSON explain

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