SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cf8b44bbacd6a48aeab50ccb164131dda57f9c730998bc85ea435462b8eef872' 
  AND token = 'UT0VgAgXHgxEmYOx4/pWgfDoTd1ZRYam0Li4WJbmRZY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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