SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c9789d3d1af144fe4ca4d0c778949e350345eadaaa00196f2eddf1430f739adf' 
  AND token = '6pfbHOF5stECus5IsLK5Mqv3kBQlofFyhqn0dan6PVc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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