SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f974c601b8bbb12fc3947cba2be23033f61a396ab2131580caf729ecca253b96' 
  AND token = 'WfYfucw1rlhjWJM2wlYdK7PKus7T0KBHOhi8ce7iCfw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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