SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b50ff6ec6871695ee812c1fb8720cb28642d27b8abb0f7157acf585504d5e398' 
  AND token = 'lhpDjzWuvqH/7UP56xsldOtbGmht3HEXiaBkWXVJYv0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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