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

Query time 0.00027

JSON explain

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