SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '05b54379e8c381bb9969f00a48c69bdf866de503d4853a2c47fd61ad94a3eb3b' 
  AND token = 'f+YGJ3KzXDTUCW6/E8ltOLa0lJ55Smxiam2epM2dHOI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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