SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '163aaa34955e122792a5024250381bf6b1f24f658ba9fbe9cd61723176aec3e9' 
  AND token = 'gYn3F9SZu/c1vi7BlzZTK2cHwCn9FneKj79sTG3iS+c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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