SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '312aefffbdbc3550cde3ed03a3ec28f007f176c1941103dc5b944744a486653e' 
  AND token = 'ca9BRjhfd5Ady+W/6B07pzy+yL9LxBdf3X29Mgyx6v4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00024

JSON explain

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