SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b7ba934f0fbe280ae181ebc363867a5e771eebc4b0eb3d3968ae56dd6c63909b' 
  AND token = 'Y1bN+9arQs66o0lcjKMIXxdfiA0ni38W7KfyvVWlMVE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00043

JSON explain

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